﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using MVC4App.SecurityServiceReference;

namespace MVC4App.Repositories.Core.Security
{
    public interface IPermissionInSiteRepository : IRepository<PermissionInSiteDto>
    {
        string GrantPermission(List<PermissionInSiteDto> objs, int permissionId);
        List<PermissionInSiteDto> GetPermissionInSiteByPermissionId(int permissionId);
        List<PermissionInSiteDto> GetPermissionInSiteBySiteId(int roleId);
    }
}